package net.luoran.dvm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import net.luoran.dvm.common.base.BaseEntity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 数据大屏组
 * </p>
 *
 * @author MyBatisPlusGenerater
 * @since 2020-10-29
 */

@TableName("data_panel_group")
@Data
public class PanelGroupDO extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "group_id", type = IdType.AUTO)
    private Integer groupId;

    /**
     * 数据组名称
     */
    @TableField("group_name")
    private String groupName;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 0正常 1删除
     */
    @TableField("del_flag")
    private String delFlag;

    /**
     * 封面文件id
     */
    @TableField("file_id")
    private String fileId;

    /**
     * 封面url
     */
    @TableField("file_url")
    private String fileUrl;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private List<PanelDO> children;

}

